/**
 * 配置路由规则
 * [{path:'',element:},{}...]
 * 在App.jsx中 const routes = useRoutes(routes)
 * 
 */
import Layout from '@/pages/Layout'
import Login from '../pages/Login'
import NotFound from '../pages/NotFound'
const routes = [
  {
    path: '/',
    element: <Layout />
  },
  {
    path: '/login',
    element: <Login />
  },
  {
    path: '*',
    element: <NotFound />
  },
]
export default routes